package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.JzdxProbationOffenderEscortCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxProbationOffenderEscortResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxProbationOffenderEscortUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxProbationOffenderEscortEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface JzdxProbationOffenderEscortConvert {

    JzdxProbationOffenderEscortConvert INSTANCE = Mappers.getMapper(JzdxProbationOffenderEscortConvert.class);

    JzdxProbationOffenderEscortResultDTO convert(JzdxProbationOffenderEscortEntity s);

    JzdxProbationOffenderEscortEntity create(JzdxProbationOffenderEscortCreateDTO s, Long tenantId);

    JzdxProbationOffenderEscortEntity update(JzdxProbationOffenderEscortUpdateDTO s);
}
